MessageAdapter

interface MessageAdapter

Interface representing a message adapter for posting events and closing the connection.

Functions

Link copied to clipboard
abstract fun close()

Closes the message adapter, releasing any resources held.

Link copied to clipboard
abstract fun postEvent(type: EventType, event: Event)

Posts an event to the message adapter.